package com.ygxsk.carhome.response;

import android.os.Parcel;
import android.os.Parcelable;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;

/*
 * @Author:itchenqi175@163.com
 * @Time:2023-08-10  09:18
 * @Description:车辆评估的详情页面
 */
public class EvaluateDetailItemBean implements Parcelable {


    /**
     * accident : 2
     * accidentName : 一般
     * address :
     * brandId : 6
     * brandName : 比亚迪
     * carBrandId : 0
     * carBrandName :
     * carColor : 青色
     * carName : 青色车型
     * carSeriesId : 0
     * carSeriesName :
     * createTime : 2023-08-09 20:08:34
     * customerId : 0
     * customerImg :
     * customerImgs : []
     * customerName : 陈得测试
     * customerPhone : 17531108969
     * estimateId : 161
     * estimateType : 4
     * estimateTypeName : 到店评估
     * files : []
     * isDelete : 0
     * isSend : 1
     * maxPrice : 250000
     * mileage : 25809
     * minPrice : 250000
     * priceRemark : 基地急需用钱
     * priceType : 1
     * receptionId : 4
     * receptionImg : image/estimate/20230809/2023080920083443850457.jpg,image/estimate/20230809/2023080920083444247923.jpg,image/estimate/20230809/2023080920083444634225.jpg
     * receptionImgs : ["http://222.222.17.184:8990/resource/image/estimate/20230809/2023080920083443850457.jpg","http://222.222.17.184:8990/resource/image/estimate/20230809/2023080920083444247923.jpg","http://222.222.17.184:8990/resource/image/estimate/20230809/2023080920083444634225.jpg"]
     * receptionName :
     * releaseDate : 2023-08-10 00:00:00
     * remark : 备注测试
     * seriesId : 1
     * seriesName : 宋plus
     * shopInfoId : 1495
     * shopName : 众诚上汽大众
     * status : 2
     * statusName : 已评估
     * urlPrefix : http://222.222.17.184:8990/resource/
     * vehicleName :
     * wade : 2
     * wadeName : 二级
     */

    private String accident;
    private String accidentName;
    private String address;
    private String brandId;
    private String brandName;
    private int carBrandId;
    private String carBrandName;
    private String carColor;
    private String carName;
    private String carSeriesId;
    private String carSeriesName;
    private String createTime;
    private int customerId;
    private String customerImg;
    private String customerName;
    private String customerPhone;
    private String estimateId;
    private String estimateType;
    private String estimateTypeName;
    private transient int isDelete;
    private transient int isSend;

    private BigDecimal mileage;
    private BigDecimal minPrice;
    private BigDecimal maxPrice;

    private String priceRemark;
    private String priceType;
    private int receptionId;
    private String receptionImg;
    private String receptionName;
    private String releaseDate;
    private String remark;
    private String seriesId;
    private String seriesName;
    private int shopInfoId;
    private String shopName;
    private int status;
    private String statusName;
    private transient String urlPrefix;
    private String vehicleName;
    private String wade;
    private String wadeName;
    //上门时间
    private String doorTime;
    private List<String> customerImgs = new ArrayList<>();
    //暂时隐藏掉
    //private List<?> files;
    //这就是附件的图片，我正常【添加评估】提交上传的
    private List<String> receptionImgs = new ArrayList<>();

    public String getDoorTime() {
        return doorTime;
    }

    public void setDoorTime(String doorTime) {
        this.doorTime = doorTime;
    }

    public String getAccident() {
        return accident;
    }

    public void setAccident(String accident) {
        this.accident = accident;
    }

    public String getAccidentName() {
        return accidentName;
    }

    public void setAccidentName(String accidentName) {
        this.accidentName = accidentName;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getBrandId() {
        return brandId;
    }

    public void setBrandId(String brandId) {
        this.brandId = brandId;
    }

    public String getBrandName() {
        return brandName;
    }

    public void setBrandName(String brandName) {
        this.brandName = brandName;
    }

    public int getCarBrandId() {
        return carBrandId;
    }

    public void setCarBrandId(int carBrandId) {
        this.carBrandId = carBrandId;
    }

    public String getCarBrandName() {
        return carBrandName;
    }

    public void setCarBrandName(String carBrandName) {
        this.carBrandName = carBrandName;
    }

    public String getCarColor() {
        return carColor;
    }

    public void setCarColor(String carColor) {
        this.carColor = carColor;
    }

    public String getCarName() {
        return carName;
    }

    public void setCarName(String carName) {
        this.carName = carName;
    }

    public String getCarSeriesId() {
        return carSeriesId;
    }

    public void setCarSeriesId(String carSeriesId) {
        this.carSeriesId = carSeriesId;
    }

    public String getCarSeriesName() {
        return carSeriesName;
    }

    public void setCarSeriesName(String carSeriesName) {
        this.carSeriesName = carSeriesName;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public int getCustomerId() {
        return customerId;
    }

    public void setCustomerId(int customerId) {
        this.customerId = customerId;
    }

    public String getCustomerImg() {
        return customerImg;
    }

    public void setCustomerImg(String customerImg) {
        this.customerImg = customerImg;
    }

    public String getCustomerName() {
        return customerName;
    }

    public void setCustomerName(String customerName) {
        this.customerName = customerName;
    }

    public String getCustomerPhone() {
        return customerPhone;
    }

    public void setCustomerPhone(String customerPhone) {
        this.customerPhone = customerPhone;
    }

    public String getEstimateId() {
        return estimateId;
    }

    public void setEstimateId(String estimateId) {
        this.estimateId = estimateId;
    }

    public String getEstimateType() {
        return estimateType;
    }

    public void setEstimateType(String estimateType) {
        this.estimateType = estimateType;
    }

    public String getEstimateTypeName() {
        return estimateTypeName;
    }

    public void setEstimateTypeName(String estimateTypeName) {
        this.estimateTypeName = estimateTypeName;
    }

    public int getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(int isDelete) {
        this.isDelete = isDelete;
    }

    public int getIsSend() {
        return isSend;
    }

    public void setIsSend(int isSend) {
        this.isSend = isSend;
    }

    public BigDecimal getMaxPrice() {
        return maxPrice;
    }

    public void setMaxPrice(BigDecimal maxPrice) {
        this.maxPrice = maxPrice;
    }

    public BigDecimal getMileage() {
        return mileage;
    }

    public void setMileage(BigDecimal mileage) {
        this.mileage = mileage;
    }

    public BigDecimal getMinPrice() {
        return minPrice;
    }

    public void setMinPrice(BigDecimal minPrice) {
        this.minPrice = minPrice;
    }

    public String getPriceRemark() {
        return priceRemark;
    }

    public void setPriceRemark(String priceRemark) {
        this.priceRemark = priceRemark;
    }

    public String getPriceType() {
        return priceType;
    }

    public void setPriceType(String priceType) {
        this.priceType = priceType;
    }

    public int getReceptionId() {
        return receptionId;
    }

    public void setReceptionId(int receptionId) {
        this.receptionId = receptionId;
    }

    public String getReceptionImg() {
        return receptionImg;
    }

    public void setReceptionImg(String receptionImg) {
        this.receptionImg = receptionImg;
    }

    public String getReceptionName() {
        return receptionName;
    }

    public void setReceptionName(String receptionName) {
        this.receptionName = receptionName;
    }

    public String getReleaseDate() {
        return releaseDate;
    }

    public void setReleaseDate(String releaseDate) {
        this.releaseDate = releaseDate;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getSeriesId() {
        return seriesId;
    }

    public void setSeriesId(String seriesId) {
        this.seriesId = seriesId;
    }

    public String getSeriesName() {
        return seriesName;
    }

    public void setSeriesName(String seriesName) {
        this.seriesName = seriesName;
    }

    public int getShopInfoId() {
        return shopInfoId;
    }

    public void setShopInfoId(int shopInfoId) {
        this.shopInfoId = shopInfoId;
    }

    public String getShopName() {
        return shopName;
    }

    public void setShopName(String shopName) {
        this.shopName = shopName;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getStatusName() {
        return statusName;
    }

    public void setStatusName(String statusName) {
        this.statusName = statusName;
    }

    public String getUrlPrefix() {
        return urlPrefix;
    }

    public void setUrlPrefix(String urlPrefix) {
        this.urlPrefix = urlPrefix;
    }

    public String getVehicleName() {
        return vehicleName;
    }

    public void setVehicleName(String vehicleName) {
        this.vehicleName = vehicleName;
    }

    public String getWade() {
        return wade;
    }

    public void setWade(String wade) {
        this.wade = wade;
    }

    public String getWadeName() {
        return wadeName;
    }

    public void setWadeName(String wadeName) {
        this.wadeName = wadeName;
    }

    public List<String> getCustomerImgs() {
        return customerImgs;
    }

    public void setCustomerImgs(List<String> customerImgs) {
        this.customerImgs = customerImgs;
    }

    public List<String> getReceptionImgs() {
        return receptionImgs;
    }

    public void setReceptionImgs(List<String> receptionImgs) {
        this.receptionImgs = receptionImgs;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(this.accident);
        dest.writeString(this.accidentName);
        dest.writeString(this.address);
        dest.writeString(this.brandId);
        dest.writeString(this.brandName);
        dest.writeInt(this.carBrandId);
        dest.writeString(this.carBrandName);
        dest.writeString(this.carColor);
        dest.writeString(this.carName);
        dest.writeString(this.carSeriesId);
        dest.writeString(this.carSeriesName);
        dest.writeString(this.createTime);
        dest.writeInt(this.customerId);
        dest.writeString(this.customerImg);
        dest.writeString(this.customerName);
        dest.writeString(this.customerPhone);
        dest.writeString(this.estimateId);
        dest.writeString(this.estimateType);
        dest.writeString(this.estimateTypeName);
        dest.writeSerializable(this.mileage);
        dest.writeSerializable(this.minPrice);
        dest.writeSerializable(this.maxPrice);
        dest.writeString(this.priceRemark);
        dest.writeString(this.priceType);
        dest.writeInt(this.receptionId);
        dest.writeString(this.receptionImg);
        dest.writeString(this.receptionName);
        dest.writeString(this.releaseDate);
        dest.writeString(this.remark);
        dest.writeString(this.seriesId);
        dest.writeString(this.seriesName);
        dest.writeInt(this.shopInfoId);
        dest.writeString(this.shopName);
        dest.writeInt(this.status);
        dest.writeString(this.statusName);
        dest.writeString(this.vehicleName);
        dest.writeString(this.wade);
        dest.writeString(this.wadeName);
        dest.writeString(this.doorTime);
        dest.writeStringList(this.customerImgs);
        dest.writeStringList(this.receptionImgs);
    }

    public void readFromParcel(Parcel source) {
        this.accident = source.readString();
        this.accidentName = source.readString();
        this.address = source.readString();
        this.brandId = source.readString();
        this.brandName = source.readString();
        this.carBrandId = source.readInt();
        this.carBrandName = source.readString();
        this.carColor = source.readString();
        this.carName = source.readString();
        this.carSeriesId = source.readString();
        this.carSeriesName = source.readString();
        this.createTime = source.readString();
        this.customerId = source.readInt();
        this.customerImg = source.readString();
        this.customerName = source.readString();
        this.customerPhone = source.readString();
        this.estimateId = source.readString();
        this.estimateType = source.readString();
        this.estimateTypeName = source.readString();
        this.mileage = (BigDecimal) source.readSerializable();
        this.minPrice = (BigDecimal) source.readSerializable();
        this.maxPrice = (BigDecimal) source.readSerializable();
        this.priceRemark = source.readString();
        this.priceType = source.readString();
        this.receptionId = source.readInt();
        this.receptionImg = source.readString();
        this.receptionName = source.readString();
        this.releaseDate = source.readString();
        this.remark = source.readString();
        this.seriesId = source.readString();
        this.seriesName = source.readString();
        this.shopInfoId = source.readInt();
        this.shopName = source.readString();
        this.status = source.readInt();
        this.statusName = source.readString();
        this.vehicleName = source.readString();
        this.wade = source.readString();
        this.wadeName = source.readString();
        this.doorTime = source.readString();
        this.customerImgs = source.createStringArrayList();
        this.receptionImgs = source.createStringArrayList();
    }

    public EvaluateDetailItemBean() {
    }

    protected EvaluateDetailItemBean(Parcel in) {
        this.accident = in.readString();
        this.accidentName = in.readString();
        this.address = in.readString();
        this.brandId = in.readString();
        this.brandName = in.readString();
        this.carBrandId = in.readInt();
        this.carBrandName = in.readString();
        this.carColor = in.readString();
        this.carName = in.readString();
        this.carSeriesId = in.readString();
        this.carSeriesName = in.readString();
        this.createTime = in.readString();
        this.customerId = in.readInt();
        this.customerImg = in.readString();
        this.customerName = in.readString();
        this.customerPhone = in.readString();
        this.estimateId = in.readString();
        this.estimateType = in.readString();
        this.estimateTypeName = in.readString();
        this.mileage = (BigDecimal) in.readSerializable();
        this.minPrice = (BigDecimal) in.readSerializable();
        this.maxPrice = (BigDecimal) in.readSerializable();
        this.priceRemark = in.readString();
        this.priceType = in.readString();
        this.receptionId = in.readInt();
        this.receptionImg = in.readString();
        this.receptionName = in.readString();
        this.releaseDate = in.readString();
        this.remark = in.readString();
        this.seriesId = in.readString();
        this.seriesName = in.readString();
        this.shopInfoId = in.readInt();
        this.shopName = in.readString();
        this.status = in.readInt();
        this.statusName = in.readString();
        this.vehicleName = in.readString();
        this.wade = in.readString();
        this.wadeName = in.readString();
        this.doorTime = in.readString();
        this.customerImgs = in.createStringArrayList();
        this.receptionImgs = in.createStringArrayList();
    }

    public static final Parcelable.Creator<EvaluateDetailItemBean> CREATOR = new Parcelable.Creator<EvaluateDetailItemBean>() {
        @Override
        public EvaluateDetailItemBean createFromParcel(Parcel source) {
            return new EvaluateDetailItemBean(source);
        }

        @Override
        public EvaluateDetailItemBean[] newArray(int size) {
            return new EvaluateDetailItemBean[size];
        }
    };
}
